﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using QLHD.DAL;

namespace QLHD
{
    public partial class frmBCNguyenLieuTho : Form
    {
        public frmBCNguyenLieuTho(frmMain form)
        {
            InitializeComponent();
            MdiParent = form;
        }

        private void frmBCNguyenLieuTho_Load(object sender, EventArgs e)
        {
            dgvNhap.DataSource = CTNhapKho_DB.ReportNhap_Tho();
            txtTCNhap.Text = CTNhapKho_DB.ReportTCNhap_Tho().Rows[0][0].ToString();
            dgvXuat.DataSource = CTXuatKho_DB.ReportXuat_Tho();
            DataTable dt = CTXuatKho_DB.ReportTCXuat_Tho();
            txtTCXuat.Text = dt.Rows[0][0].ToString();
        }
    }
}
